package org.shadow.core.key;

import org.shadow.core.key.exception.InvalidKeyPatternException;

/**
 * <p>
 * </p>
 * @author zhouw
 * @version 0.1
 * @since 2016.12.02
 */
public interface KeyFormatter {
	
	public String format(int sequence) throws InvalidKeyPatternException;
	
	public void setPattern(String pattern) throws InvalidKeyPatternException;
	
}
